//package com.example.waibao.entity;
//
//import com.example.waibao.config.scheduled.ITask;
//import com.example.waibao.controller.ScheduledController;
//import com.example.waibao.service.impl.ScheduledService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Controller;
//
//import java.io.IOException;
//
///**
// * @Author whh
// * @Date: 2023/03/15/ 21:16
// * @description
// */
//
//
////@Component
//public class MonitorTask extends ITask {
////    public MonitorTask(String cron) {
////        super(cron);
////    }
//
////    public MonitorTask(String cron) {
////        super(cron);
////    }
//
////    @Autowired
////    ScheduledService scheduledService;
//
//    @Override
//    public void execute() throws IOException {
////        ScheduledController scheduledController = new ScheduledController();
////        scheduledController.ttt();
//        ScheduledService scheduledService = new ScheduledService();
//        scheduledService.scheduled();
//        System.out.println("hello world ....");
//    }
//}
//
